how to differentiate e power x